import request from '@/utils/request'

// 查询订单其他列表
export function listOrderother(query) {
  return request({
    url: '/orderother/orderother/list',
    method: 'get',
    params: query
  })
}

// 查询订单其他详细
export function getOrderother(orderotherId) {
  return request({
    url: '/orderother/orderother/' + orderotherId,
    method: 'get'
  })
}

// 新增订单其他
export function addOrderother(data) {
  return request({
    url: '/orderother/orderother',
    method: 'post',
    data: data
  })
}

// 修改订单其他
export function updateOrderother(data) {
  return request({
    url: '/orderother/orderother',
    method: 'put',
    data: data
  })
}

// 删除订单其他
export function delOrderother(orderotherId) {
  return request({
    url: '/orderother/orderother/' + orderotherId,
    method: 'delete'
  })
}
